package homework01;
import java.util.Scanner;
public class homewo1{
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("请输入第一个整数：");
        int score1 = scan.nextInt();
        System.out.println("请输入第二个整数：");
        int score2 = scan.nextInt();
        System.out.println("请输入第三个整数：");
        int score3 = scan.nextInt();
        int min = score1;
        if (score1 > score2) {
            if (score3 > score2) {
                min = score2;
            }
        } else if (score2 > score1) {
            if (score1 > score3) {
                min = score3;
            }
        }
        System.out.println("最小值是" + min);
    }
}
